cmake_minimum_required(VERSION 3.15)

project(2_nest_cmake)

#设置头文件路径
set(INCLUDE_PATH /home/lang/myfile/code/work_da-guan/4_testCmake/2_nest_cmake/include)

#设置库路径
set(LIB_PATH /home/lang/myfile/code/work_da-guan/4_testCmake/2_nest_cmake/lib)

#设置输出路径
set(EXE_PATH /home/lang/myfile/code/work_da-guan/4_testCmake/2_nest_cmake/exe)

#设置生成库的名字
set(ACTION myAction)
set(CALCULATE calculate)

#添加子目录
add_subdirectory(action)
add_subdirectory(calculate)
add_subdirectory(test1)
add_subdirectory(test2)